require.config({
	baseUrl: 'js',
	paths: {
		'app': 'config.router',
		'angular': 'angular.min',
		'router': 'angular-ui-router',
		'homeCtrl':'controller/homeCtrl',
		'homenetCtrl':'controller/homenetCtrl',
		'net-speedCtrl':'controller/net-speedCtrl',
		'booksService':'service/booksService',
		'jquery':'jquery-1.11.3',
		'echarts':'echarts.min'
	},
	shim: {
		'angular': {
			exports: 'angular'
		},
		'router': {
			deps: ['angular']
		},
		'app': {
			deps: ['router','jquery']
		}
	}
});
// 初始化app模块
require(['app'],function(){
	angular.bootstrap(document, ['app']);
});